{% extends "base.html" %}

{% block login %}{% endblock %}
{% block search %}{% endblock %}

{% block content %}
<form action="" method="post">
    {% csrf_token %}
    {{ form.non_field_errors }}
    <table>
        <tr>
            <td>{{ form.username.errors }}</td>
  </tr>
  <tr>
      <td>{{ form.username.label_tag }}</td>
      <td>{{ form.username }}</td>
  </tr>
  <tr>
            <td>{{ form.password1.errors }}</td>
  </tr>
  <tr>
      <td>{{ form.password1.label_tag }}</td>
      <td>{{ form.password1 }}</td>
  </tr>

  <tr>
            <td>{{ form.password2.errors }}</td>
  </tr>
  <tr>
      <td>{{ form.password2.label_tag }}</td>
      <td>{{ form.password2 }}</td>
  </tr>
</table>

    <input type="submit" value="Register" />
</form>
{% endblock %}

